<template>
  <span v-if="row.isConsignBusiness === 1" class="consignBusiness-text">
    寄
  </span>
  <span
    v-if="row.isEstimationStockBusiness === 1"
    class="estimationStockBusiness-text"
  >
    暂
  </span>
  <span>{{ row[str] || '-' }}</span>
</template>
<script setup>
const props = defineProps({
  row: {
    type: Object,
    default: function () {
      return {}
    },
  },
  str: {
    type: String,
    default: 'storeBatchNumber',
  },
})
</script>
